package com.testfileupload.uploadimg.design.decorate.example;

import com.testfileupload.uploadimg.design.decorate.SchoolReport;

public class SortDecorator extends Decorator {
    public SortDecorator(SchoolReport sc) {
        super(sc);
    }

    public void reportSort() {
        System.out.println("我的成绩是43名");
    }
    //看完成绩单后，汇报
    @Override
    public void report() {
        super.report();
        this.reportSort();
    }
}
